MotoPress\Appointment\Libraries\Async\BackgroundProcess C

Total Complexity 110
Dependencies 3
Dependents 1
Total lines 838
Lines of code 379
Logical lines of code 195
Comment lines 277
Methods 60
Properties 23

Methods 60

Method Rating Maintainability Complexity Lines of code
handle()
A
46 12 38
limitExecutionTime()
S
55 7 19
touch()
S
67 6 8
maybeHandle()
S
59 5 15
__construct()
S
57 2 16
shouldStop()
S
74 3 5
isDoingAjax()
S
68 3 7
isDoingCron()
S
68 3 7
limitMemory()
S
65 3 9
getUncachedOption()
S
61 2 12
fireDie()
S
70 2 7
getOption()
S
69 2 7
getProgress()
S
65 2 9
afterComplete()
S
65 2 10
scheduleCron()
S
68 2 7
isInProgress()
S
79 2 3
isAborting()
S
69 2 7
setProperties()
S
68 2 7
unscheduleCron()
S
67 2 8
__get()
S
65 2 9
run()
S
71 2 5
lock()
S
70 2 6
touchWhenReady()
S
67 2 9
cancel()
S
66 2 9
beforeStop()
S
98 1 1
increaseTasksCompleted()
S
79 1 3
increaseBatchesCount()
S
79 1 3
increaseBatchesCompleted()
S
79 1 3
tasksCount()
S
78 1 3
tasksCompleted()
S
79 1 3
tasksLeft()
S
80 1 3
batchesCompleted()
S
79 1 3
batchesCount()
S
79 1 3
batchesLeft()
S
80 1 3
updateOption()
S
79 1 3
basicAuth()
S
67 1 7
addTasks()
S
68 1 7
addActions()
S
69 1 6
getPropertyNames()
S
74 1 4
increaseTasksCount()
S
78 1 3
batchesProgress()
S
78 1 3
task()
S
77 1 4
timeExceeded()
S
74 1 4
taskComplete()
S
81 1 3
batchComplete()
S
81 1 3
beforeStart()
S
98 1 1
afterSuccess()
S
80 1 3
afterCancel()
S
80 1 3
clearOptions()
S
70 1 7
setupLimits()
S
78 1 4
unlock()
S
76 1 4
tasksProgress()
S
78 1 3
requestPostArgs()
S
65 1 9
isRunning()
S
79 1 3
isEmptyQueue()
S
80 1 3
isCronScheduled()
S
75 1 4
requestQueryArgs()
S
71 1 6
requestUrl()
S
80 1 3
registerCronInterval()
S
68 1 7
memoryExceeded()
S
72 1 5